package com.cbs.bluetooth.device.qunsuo;

import android.graphics.Bitmap;

/**
 * Created by zyj on 2017/7/6.
 */
public class PrintContent {
    //0-文本,1-图片,2-二维码
    private PrintContentType type = PrintContentType.Text;
    private String content;
    private Bitmap bitmap;

    public PrintContent(PrintContentType type, String content, Bitmap bitmap) {
        this.type = type;
        this.content = content;
        this.bitmap = bitmap;
    }

    public PrintContentType getType() {
        return type;
    }

    public void setType(PrintContentType type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Bitmap getBitmap() {
        return bitmap;
    }

    public void setBitmap(Bitmap bitmap) {
        this.bitmap = bitmap;
    }
}
